|
TURN CAMERA RIGHT
This command will turn the camera right.
TURN CAMERA RIGHT Angle Value
TURN CAMERA RIGHT Camera Number, Angle Value
Camera Number
Integer
The camera number
Angle Value
Float
The value of the angle can be positive or negative
This command does not return a value.
The rotation is independent of any axis orientation and allows free motion. The value of the angle can be positive or negative. The angle must be specified using a real value.
autocam on
make matrix 1,4000,4000,100,100
set matrix height 1,50,50,500
update matrix 1
while mouseclick()<>1
set cursor 0,0 :print "USE ARROW KEYS TO ROTATE / A+Z Roll Camera"
if upkey()=1 then pitch camera up 0,1
if downkey()=1 then pitch camera down 0,1
if leftkey()=1 then turn camera left 0,1
if rightkey()=1 then turn camera right 0,1
if inkey$()="a" then roll camera left 0,1
if inkey$()="z" then roll camera right 0,1
endwhile
while mouseclick()=1 : endwhile
delete matrix 1:autocam off
end
CAMERA Commands Menu
Index
|